import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const userGroup: AppRouteModule = {
  path: '/organization',
  name: 'Organization',
  component: LAYOUT,
  redirect: '/organization/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'clarity:organization-solid',
    title: '组织机构管理',
    orderNo: 2,
  },
  children: [
    {
      path: 'index',
      name: 'organizationIndex',
      component: () => import('/@/views/sys/organization/index.vue'),
      meta: {
        title: '组织机构管理',
        icon: 'clarity:organization-solid',
        hideMenu: true,
        hideBreadcrumb: true,
      },
    },
  ],
};

export default userGroup;
